package com.jzy.gulimall.product.vo.web;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author jzy
 * @date 2020/9/12 14:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Catelog2Vo {

    private String catalog1Id;  //1级父分类Id

    private List<Catelog3Vo> catalog3List;  //3级子分类

    private String id;

    private String name;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class Catelog3Vo{

        private String catalog2Id;

        private String id;

        private String name;
    }
}
